export const formFieldConfig: FieldInter[] = [
  {
    label: '科目名字',
    field: 'name',
    placeholder: '请输入科目名字',
    type: 'input',
    rule: [{ message: '请输入科目名字', required: true }],
  },
  {
    label: '学科封面',
    field: 'dspCoverFile',
    placeholder: '请上传科目封面图片',
    type: 'upload',
    rule: [{ message: '请上传科目封面图片', required: true }]
  },
  {
    label: '学生总数',
    field: 'studentCount',
    placeholder: '请输入学生总数',
    rule: [{ message: '请输入学生总数', required: true }],
    type: 'number',
  },
  {
    label: '学期报名费',
    field: 'halfYearPrice',
    placeholder: '请输入学期报名费',
    rule: [{ message: '请输入学期报名费', required: true }],
    type: 'number',
  },
  {
    label: '全年报名费',
    field: 'yearPrice',
    placeholder: '请输入全年报名费',
    rule: [{ message: '请输入全年报名费', required: true }],
    type: 'number',
  },
  {
    type: 'time',
    label: '上课时间',
    field: 'dspSchooltime',
    placeholder: '请选择上课时间',
    rule: [{ message: '请选择上课时间', required: true }],
  },
  {
    label: '学科宣传图',
    field: 'dspBannersFile',
    placeholder: '请上传科目宣传图片',
    type: 'upload',
    count: 5
  },
]
